#include "watch_dog.h"
#include <stdio.h>

void WDT_Init()
{
    WDT_InitTypeDef cnf = {ENABLE, WDT_IDLE_STOP,
                           WDT_SCALE_256};
    WDT_Inilize(&cnf);
    printf("Watch dog start.\n");
}